package com.atguigu.eduservice.entity.tree;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author panghl
 * @Date 2021/1/5 21:01
 * @Description 树级结构
 **/
@Data
public class TreeEntity implements Serializable {

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "视频id")
    private String videoSourceId;
    @ApiModelProperty(value = "子结构")
    private List<?> children = new ArrayList<>();

}
